cmake_minimum_required(VERSION 3.9)
# 包含子项目
<% apps.forEach(function(app){%>
add_subdirectory ("<%=app.name%>")
<%})%>

# 指定库文件输出目录
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/bin)
# 指定可执行文件输出目录
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_HOME_DIRECTORY}/bin)